import { TileSource } from "./TileSource";

export class UrlTile extends TileSource {
  constructor(options: { [key: string]: any }) {
    super({
      attributions: options.attributions,
      cacheSize: options.cacheSize,
      extent: options.extent,
      opaque: options.opaque,
      projection: options.projection,
      state: options.state,
      tileGrid: options.tileGrid,
      tilePixelRatio: options.tilePixelRatio,
      wrapX: options.wrapX,
      transition: options.transition,
    });
  }
}
